@import url("//at.alicdn.com/t/font_3124036_1thadq64n4j.css"); //fonticon 单色图标
@import url(./normal.scss); //常规
@import url(./layout.scss); //布局与定位
@import url(./color.scss); //颜色
@import url(./distance.scss); //距离|长度等
@import url(./font.scss); //文字
@import url(./other.scss); //其它无法归类
@import url(./ani.scss); //动画类
@import url(./code.scss); //代码片段独立一类
@import url(./element.scss); //element自定义

#WINDOWS12 {
  background-color: #f0f0f0;
  height: 100%;
  width: 100%;
  min-width: 1024px;
  min-height: 860px;
  overflow: hidden;
}

.NAVBAR {
  height: 4rem;
  background-image: linear-gradient(118deg,
      #0169ff 0%,
      #01b1ff 65%,
      #0169ff 100%);
  position: relative;
  z-index: 2;
}

.CPT_ICON {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

.Menu {
  width: 11rem;
  overflow: hidden;
  height: calc(100vh - 4rem);
  border-right: solid 1px #e6e6e6;
  background-color: #fff;
  position: relative;

  &.collapse {
    width: 4rem;

    .el-menu {
      width: 4rem;
    }
  }

  .el-menu {
    min-height: 100%;
    border: none;
    width: 11rem;

    .stepone {
      margin-right: 5px;
      width: 24px;
      display: inline-block;
      line-height: 1;
      vertical-align: middle;
      text-align: center;
    }
  }

  .collapseBtn {
    position: absolute;
    top: calc(50% - 1rem);
    left: calc(100% + 1rem);
    transition: $trans1;
    z-index: 2;
    height: 2rem;
    width: 1rem;
    font-size: 12px;
    color: $dark5;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px 0 0 2px;
    background-color: $littleBlue;
    box-shadow: $dark1 0 0 $dis10;
    cursor: pointer;

    &:hover {
      box-shadow: $littleBlue 0 0 .5rem;
      background-color: $themeBlue;
      color: #fff;
    }
  }

  &:hover {
    .collapseBtn {
      transform: translateX(-2rem);
    }
  }
}

.roundInput {
  height: 2rem;
  border-radius: 1rem;
  background-color: #fff;
  border: 1px #f0f0f0 solid;
  font-size: 12px;
  color: #333;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 6rem;
  transition: $trans1;

  &:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.5);
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 4px;

    &:before {
      opacity: 0;
    }
  }
}

.mgBadge {
  position: relative;

  .badgeArea {
    position: absolute;
    height: 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    right: 0;
    top: 0;
    color: #fff;
    font-size: 12px;
    padding: 2px 5px;
    transform: translate(50%, -50%);
  }
}

.PAGE {
  padding: $dis5 $dis5 0 $dis5;
  height: calc(100vh - 4rem);
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;

  .flexHeader {
    display: flex;
    align-items: center;
    height: 3.5rem;
    padding: $dis5 $dis5 $dis5 $dis10;
    border-bottom: 1px $dark1 solid;
  }

  .flexBody {
    height: calc(100vh - 7.5rem - 5px);
    padding: 0 $dis5 0 $dis5;
  }

  &.ONE {
    overflow: hidden;
  }
}

.BOARD {
  border-radius: 0.25rem 0.25rem 0 0;
  background-color: #fff;
  min-height: 100%;
}


.mgpopper {
  height: 400px;
  padding: $dis5 0 !important;
}

.mgtree {
  min-width: 300px;
}

.fs12 .el-link--inner {
  font-size: 12px;
}

.none {
  display: none !important;
}

.noselect {
  user-select: none;
}

.yscrollPopper {
  padding: 0;
  overflow-y: auto;
}

.tabsTool {
  position: absolute;
  right: 0;
  top: 0px;
  height: 50px;
  display: flex;
  align-items: center;
  z-index: 2;
}

.cardTips {
  padding: $dis10;
  border-left: 4px $blue solid;
  background-color: #f9f9f9;
  color: #999;
  font-size: 12px;
}

.phoneInput {
  input {
    border-radius: 0;
    background-color: #f9f9f9;
  }
}

.callBtn {
  width: 28px;
  height: 28px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: $green;

  &.hangup {
    background-color: $red;
    transform: rotateZ(135deg);
  }
}

.keyboardArea {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  height: 2rem;
  overflow: hidden;
  transition: $trans5;

  &.showKeyboard {
    height: 13rem;
  }

  .keyboard {
    width: calc(6rem + 12px);
    padding: $dis5;
    display: flex;
    margin-top: 5px;
    flex-wrap: wrap;
    border-radius: 4px 0 4px 4px;
    position: relative;
    background-color: #fff;
    border: 1px $borderColor solid;

    &::after {
      content: "";
      width: .5rem;
      height: .5rem;
      border-top: 1px $borderColor solid;
      border-right: 1px $borderColor solid;
      background-color: #fff;
      position: absolute;
      z-index: 0;
      right: 6px;
      top: -5px;
      transform: rotateZ(-45deg);
    }

    .key {
      width: 2rem;
      height: 2rem;
      color: #555;
      font-size: 14px;
      border-radius: 4px;
      display: flex;
      transition: $trans1;
      cursor: pointer;
      align-items: center;
      justify-content: center;
      border: 1px transparent solid;

      &:hover {
        background-color: $littleBlue;
        border-color: $dark1;
      }
    }
  }

  .inputNumber {
    width: 6rem;
    color: #777;
    height: 2rem;
    line-height: 2rem;
    overflow: hidden;
    text-align: right;
    white-space: nowrap;
  }
}

.scrollTopBtn {
  width: 3rem;
  height: 3rem;
  border-radius: 4px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 1rem;
  bottom: 1rem;
  cursor: pointer;
  color: $dark5;
  transition: $trans1;
  position: absolute;
  box-shadow: $dark1 0 0 $dis10;

  i {
    font-size: 30px;
  }

  &:hover {
    color: $blue;
    box-shadow: $blue1 0 0 $dis10;
  }
}

.backdrop {
  backdrop-filter: saturate(150%) blur(4px);
}
.Page {
  position: fixed;
  border: 1px $dark1 solid;
  transition-property: transform, opacity, width, height;
  transition-duration: 0.3s !important;
  transition-timing-function: ease-in-out;
  &.active {
    box-shadow: $dark3 0 $dis10 $dis20;
    border-color: $dark2;
    .Header {
      background-color: $blue3;
      .navTxt > *{
        color: $dark5 !important;
        font-size: 12px !important;
      }
    }
  }
  &.diy_hover {
    z-index: 19910608 !important;
    box-shadow: $blueDark 0 0 $dis20 !important;
    .Body {
      background-color: $white7;
      backdrop-filter: saturate(150%) blur(4px);
    }
  }
  &.full_hover {
    z-index: 19910608 !important;
    .Body {
      background-color: $white7;
      backdrop-filter: saturate(150%) blur(4px);
    }
  }
  &.mini_hover {
    z-index: 19910608 !important;
    width: 800px !important;
    height: 600px !important;
    box-shadow: $dark3 0 0 $dis20 !important;
    opacity: 1 !important;
    transform: scale(0.4) !important;
    top: calc(50% - 300px) !important;
    left: calc(50% - 400px) !important;
    .Header,
    .Body {
      opacity: 1 !important;
    }
  }
  &:not([data-moveaim="moving"]) {
    transition-property: left, top, transform, opacity, width, height;
  }
  &.diy {
    width: 800px;
    height: 600px;
    // top: calc(50% - 300px);
    // left: calc(50% - 400px);
    border-radius: $dis10;
  }
  &.full {
    width: 100vw;
    height: calc(100vh - 3rem);
    top: 0;
    left: 0;
    border-radius: 0;
  }
  &.mini {
    display: flex;
    opacity: 0;
    width: 0;
    height: 0;
    .Header,
    .Body {
      opacity: 0;
    }
  }
  .Header {
    width: 100%;
    height: 3rem;
    color: $dark5;
    font-size: 14px;
    position: relative;
    background-color: $white3;
    border-radius: $dis10 $dis10 0 0;
    text-shadow: $white3 0 1px 0, $dark2 0 -1px 0;
    &::after {
      content: "";
      background-color: $dark1;
      height: 1px;
      width: 100%;
      position: absolute;
      bottom: 0;
      z-index: 2;
    }
    .pagePath {
      border: 1px $dark1 solid;
      .pathIcon {
        position: relative;
        &::after {
          content: "";
          position: absolute;
          height: 30%;
          width: 1px;
          background-color: $white3;
          right: 0;
          top: 35%;
        }
      }
    }
  }
  .Body {
    height: calc(100% - 3rem);
    padding-bottom: 3rem;
    position: relative;
    width: 100%;
    background-color: #fff;
    transition: $trans5;
    .bodyFooter {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 2rem;
    }
  }
}